import Vue from 'vue'
import Router from 'vue-router'
import index from '@/views/index'
import submit from '@/views/submit'

Vue.use(Router)

export default new Router({
  // mode: 'history',
  routes: [
    {
      path: '/',
      name: '长沙 IFS美食之城',
      component: index,
      children: [{
        path: '/submit',
        name: '提交小票信息',
        component: submit
      }]
    }
  ]
})
